Skip to content

Conversation

@imranbarbhuiya
Copy link
Owner

Please describe the changes this PR makes and why it should be merged:

Status and versioning classification:

@imranbarbhuiya imranbarbhuiya requested a review from Copilot October 9, 2025 15:15
@imranbarbhuiya imranbarbhuiya added the hacktoberfest-accepted Issues and PRs related to Hacktoberfest. label Oct 9, 2025
@vercel
Copy link

vercel bot commented Oct 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
tag-script-h93t Ready Ready Preview Comment Oct 9, 2025 3:29pm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the website to support new fumadocs features and implements AI-friendly endpoints for LLM interactions. The changes primarily focus on modernizing the documentation framework and adding functionality for AI model consumption of the documentation content.

  • Updated fumadocs packages to newer versions with enhanced MDX processing capabilities
  • Added LLM-friendly endpoints that serve markdown content for AI consumption
  • Removed duplicate heading elements from MDX files to improve content formatting

Reviewed Changes

Copilot reviewed 22 out of 25 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
scripts/generateDocs.mjs Removes duplicate headings from generated documentation files
packages/tagscript-plugin-discord/package.json Updates discord.js dependency version
apps/website/source.config.ts Enables processed markdown inclusion for AI consumption
apps/website/package.json Updates fumadocs packages and adds utility dependencies
apps/website/next.config.js Adds routing for LLM endpoints and legacy path redirects
apps/website/mdx-components.tsx Centralizes MDX component configuration
apps/website/lib/get-llm-text.ts Implements LLM text formatting utility
apps/website/lib/cn.ts Adds className utility function
Multiple .mdx files Removes duplicate heading elements
apps/website/components/ui/button.tsx Adds reusable button component variants
apps/website/components/page-actions.tsx Implements LLM copy and view options functionality
apps/website/cli.json Adds fumadocs CLI configuration
Multiple route files Implements LLM-friendly API endpoints
apps/website/app/layout.tsx Updates source import path and viewport configuration
apps/website/app/api/search/route.ts Updates source import path
apps/website/app/[[...slugs]]/page.tsx Refactors page component with new actions and metadata

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

'---',
'',
newContent
newContent.replace(new RegExp(`^# ${fileHeading}`), '')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Regex Fails When Heading Contains Special Characters

The RegExp created to remove the file heading doesn't escape special regex characters in fileHeading. This can cause the regex to fail to match, behave unexpectedly, or throw a syntax error if the heading contains characters like + or (.

Fix in Cursor Fix in Web

@imranbarbhuiya imranbarbhuiya merged commit 3c5ad53 into main Oct 9, 2025
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apps:website hacktoberfest-accepted Issues and PRs related to Hacktoberfest.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants